package top.wettis.chat.pojo.DO;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;

/**
 * <p>
 * 目标
 * </p>
 *
 * @author wettis
 * @since 2023-03-25
 */
@Getter
@Setter
@TableName("objectives")
public class Objectives implements Serializable {
    private static final long serialVersionUID = 1L;
    @TableId(value = "task_id", type = IdType.AUTO)
    private Integer taskId;
    @TableField("user_id")
    private Integer userId;
//    @TableField("year")
//    private Integer year;
//    @TableField("month")
//    private Integer month;
    @TableField("week")
    private char week;
//    @TableField("day")
//    private Integer day;
    @TableField("content")
    private String content;
    @TableField("level")
    private Integer level;
    @TableField("orders")
    private Integer orders;
    @TableField("is_finished")
    private Boolean finished;
    @TableField("is_del")
    @TableLogic
    private Integer del;
}
